/**
 * Project Name:dsrs-businessservice-domain
 * File Name:ConsumerLogPo.java
 * Package Name:com.bwda.dsrs.businessservice.domain.po.consumerlog;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 *
 */
package com.bwda.dsrs.filecenter.domain.vo.ftpsetting;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * FTP配置
 *
 * @author liangjianyong
 * @date 2019/4/23FtpSettingDisplayVo
 */
@Data
@ApiModel(description = "FTP配置")
public class FtpSettingDisplayVo{

    @ApiModelProperty(value = "ID", required = true)
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "0主FTP,1备FTP")
    private Integer isMainFtp;

    @ApiModelProperty(value = "主FTP ID(仅当当前是备FTP)")
    private Integer mainId;

    @ApiModelProperty(value = "主FTP名称（仅当当前是主FTP）")
    private String mainName;

    @ApiModelProperty(value = "IP地址")
    private String ipAddr;

    @ApiModelProperty(value = "端口号")
    private Integer port;

    @ApiModelProperty(value = "ftp,sftp")
    private Integer ftpType;

    @ApiModelProperty(value = "用户编码")
    private String userCode;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "模式")
    private Integer ftpMode;

    @ApiModelProperty(value = "语言编码")
    private String unicode;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "硬盘可用总空间")
    private BigDecimal diskSize;

    @ApiModelProperty(value = "已用硬盘空间")
    private BigDecimal usedDiskSize;

    @ApiModelProperty(value = "是否共享")
    private Integer isShare;

    @ApiModelProperty(value = "Ftp是否存在用户路径")
    private Boolean isExistUserPath;

    @ApiModelProperty(value = "Ftp创建时间")
    private Date createTime;

    @ApiModelProperty(value = "是否自动同步  0不同步 1同步")
    private Integer issync;

    @ApiModelProperty(value = "同步方式  1 直接同步 2主从账号")
    private Integer syncType;
}
